<div class="admin_views_views_div">
	<table class="admin_views_views_table">
		<tr class="admin_views_views_table_head">
			<td><?php echo ST_FORM_URL ?></td>
			<td><?php echo ST_FORM_RIGHTNAME ?></td>
		</tr>
		<?php
			$RightDAO = DAOFactory::getInstance('Right');
			
			foreach ($ret['data']['viewrights'] as $viewright) {
				echo '<tr class="admin_views_views_table_body">';
					echo "<td>".$viewright->get_url()."</td>";
					echo "<td>".$RightDAO->getById($viewright->get_rightid())->get_name()."</td>";
				echo "</tr>";
			}
			
			unset($RightDAO);
		?>
	</table>
</div>